<%--
  Created by IntelliJ IDEA.
  User: lt
  Date: 2017/5/12
  Time: 9:29
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html>
<head>

    <title>菜单管理</title>
    <%@ include file="/common/include-core.jsp" %>
</head>
<body>
<div class="page-container">
    <div class="asd" style="width: 30%;float: left;background-color: #EFEFEF">
        <div class="zTreeDemoBackground fl">
            <ul id="treeDemo" class="ztree"></ul>
        </div>
    </div>
    <div class="sdf" style="width: 70%;float: left">
        <form action="" method="post" class="form form-horizontal" id="form-add"  enctype="multipart/form-data">

            <input type="hidden" value="${mediaClassify.tid}" id="tid" name="tid">
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">
                    <span class="c-red">*</span>
                    父级：</label>
                <div class="formControls col-xs-6 col-sm-6">
                    <input type="hidden" name="parentId" id="parentId" value="${parentMediaClassify.tid}">
                    <input type="text" class="input-text" value="${parentMediaClassify.name}" placeholder="" id="parentName" name="parentName">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">
                    <span class="c-red">*</span>
                    名称：</label>
                <div class="formControls col-xs-6 col-sm-6">
                    <input type="text" class="input-text" value="${mediaClassify.name}" placeholder="" id="menuName" name="name">
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">
                    <span class="c-red">*</span>图片：
                </label>
                <div class="formControls col-xs-8 col-sm-9">
                    <span class="btn-upload form-group">
                        <input class="input-text upload-url" type="text"   readonly nullmsg="请添加文件！"
                               style="width:200px">
                        <a href="javascript:void(0);" class="btn btn-primary radius upload-btn"><i class="Hui-iconfont">&#xe642;</i> 浏览文件</a>
                        <input type="file" multiple name="pic" class="input-file">
				    </span>
                </div>
            </div>
            <div class="row cl">
                <label class="form-label col-xs-4 col-sm-2">
                    <span class="c-red">*</span>状态：
                </label>
                <div class="formControls col-xs-8 col-sm-9">
                    <select class="region select radius input-text" name="status">
                        <option value="1" ${mediaClassify.status==1?"selected":""}>有效</option>
                        <option value="0" ${mediaClassify.status==0?"selected":""}>无效</option>
                    </select>
                </div>
            </div>
            <div class="row cl">
                <div class="col-9 col-offset-2">
                    <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
                </div>
            </div>
        </form>
    </div>
</div>

<script type="text/javascript" src="/static/js/media/getMediaClassifyList.js"></script>
</body>
</html>